<template>
  <div class="nav-bar">
    <u1 class="nav">
      <li class="dropdown-toggle caret category">
        <span class="nav-head-nmae">小吃快餐</span>
        *
      </li>
      <li class="dropdown-toggle caret biz subway">
        <span class="nav-head-nmae">全城</span>
        *
      </li>
      <li class="dropdown-toggle caret sort">
        <span class="nav-head-nmae">默认排序</span>
        *
      </li>
      <li class="dropdown-toggle caret csp">
        <span class="nav-head-nmae">筛选</span>
        *
      </li>
    </u1>
  </div>
</template>

<script>
export default {};
</script>
<style scoped>
.nav-bar .nav {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  border-bottom: 1px solid #c6c0b3;
  text-align: center;
  height: 0.84rem;
  line-height: 0.84rem;
  -webkit-user-select: none;
}
.dropdown-toggle {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  
  border-left: 1px solid #c6c0b3;
  width: 100%;
  text-align: left;
  text-align: center;
  color: #666;
 
list-style:none;
}
.nav-head-name {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  max-width: 80%;
  vertical-align: middle;
  text-overflow: ellipsis;
}
</style>
